package com.cskaoyan.service;

import com.cskaoyan.bean.MarketGoods;
import com.cskaoyan.bean.common.BasePageInfo;
import com.cskaoyan.bean.common.CommonData;
import com.cskaoyan.bean.goods.bo.CreateGoodsBo;
import com.cskaoyan.bean.goods.vo.CatAndBrandVo;

public interface GoodsService {
    CommonData<MarketGoods> queryAllGoods(BasePageInfo basePageInfo,String name,Integer goodsId,String goodSn);

    CatAndBrandVo queryCatAndBrand();

    int createGoods(CreateGoodsBo createGoodsBo);

    int updateGoods(CreateGoodsBo createGoodsBo);

    int deleteGoods(MarketGoods marketGoods);

    CreateGoodsBo showAllDetails(Integer id);
}
